package com.yooohooo.designpattern.builder;

import com.yooohooo.designpattern.bean.phone.Phone;

/**
 * @ClassName: PhoneDirector
 * @Description:
 * @author Yooo
 * @date 2017年6月19日 上午4:19:30
 * 
 */
public class PhoneDirector {
	public Phone construct(PhoneBuilder builder) {
		builder.buildBrand();
		builder.buildOs();
		return builder.getResult();
	}
}
